package emuLoader.gui.javaFx.sample.table;

import java.io.IOException;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;
import nayasis.common.ui.javaFx.GuiUtil;

public class MainApp extends Application {
	  
	@Override
	public void start(Stage primaryStage) throws IOException {
	    
	    primaryStage.setTitle("Table Filtering");
	
	    Pane anchorPane = GuiUtil.getPane( "PersonTable.fxml", new PersonTableController() );
	 
	    Scene scene = new Scene( anchorPane );
	    primaryStage.setScene( scene );
	    
	    primaryStage.show();
	
	}
	
	public static void main(String[] args) {
	    launch(args);
	}

}
